//请求医院列表参数类型
export interface hospitalParamType {
  page: number;
  limit: number;
  hosname?: string;
  hoscode?: string;
}

//请求列表返回值records每一项的类型
export interface hosReturnItemType {
  id: number;
  createTime: string;
  updateTime: string;
  isDeleted: number;
  param: {};
  hosname: string;
  hoscode: string;
  apiUrl: string;
  signKey: string;
  contactsName: string;
  contactsPhone: string;
  status: number;
}

//将每一项的类型作为records数组的类型
export type hosRecordstype = hosReturnItemType[];

//请求医院列表返回值完全类型
export interface hospitalReturnType {
  records: hosRecordstype;
  total: number;
  size: number;
  current: number;
  orders: [];
  hitCount: boolean;
  searchCount: boolean;
  pages: number;
}
//新增医院数据参数类型
export interface addHospitalParamsType {
  apiUrl: string;
  contactsName: string;
  contactsPhone: string;
  hoscode: string;
  hosname: string;
}

export interface updateHospitalParamsType extends addHospitalParamsType{
  id:string
}